<template>
  <div class="header w-100 display-flex flex-between flex-center bg-fff">
    <div class="logo-box">
      <!-- <img class="w-100 h-100" src="@/assets/head/logo.png" /> -->
    </div>
    <div class="login-text" @click="adddl">
      <span>登录</span>
      <span> / </span>
      <span>注册</span>
    </div>
  </div>
</template>

<script lang="ts" setup>
import { useRouter } from 'vue-router'
const router = useRouter()
const adddl = () => {
  router.push('/login')
}
onMounted(() => {})
</script>

<style lang="scss" scoped>
.header {
  height: 60px;
  padding: 0px 260px;
  box-sizing: border-box;
  .logo-box {
    width: 107px;
    height: 32px;
  }
  .login-text {
    font-family:
      PingFang SC,
      PingFang SC;
    font-size: 14px;
    color: #2f3133;
    line-height: 20px;
    cursor: pointer;
  }
}
</style>
